<?php $this->pageTitle=Yii::app()->name; 




?>

<div id="titles"><h1 >Bienvenido a nuestro sistema</h1></div>
//<?php 
//
//
//
//
//Yii::import('ext.gmaps.*');
//$gMap = new EGMap();
// 
//$gMap->setWidth(600);
//// it can also be called $gMap->height = 400;
//$gMap->setHeight(400);
//$gMap->zoom = 12; 
// 
//// set center to inca
//$gMap->setCenter(-12.07483088767733, -77.05372421813968);
// 
//// my house when i was a kid
//
//
//$home = new EGMapCoord(-12.079531021841724, -77.04986183715823);
// 
//// my ex-school
//$school = new EGMapCoord(-12.064758893902892, -77.04093544555667 );
// 
//// some stops on the way
//$santo_domingo = new EGMapCoord(39.72118906848983, 2.907628202438368);
//$plaza_toros  = new EGMapCoord(39.71945607911511, 2.9049245357513565);
//$paso_del_tren = new EGMapCoord( 39.718762871171776, 2.903637075424208 );
// 
//// Waypoint samples
//$waypoints = array(
//      new EGMapDirectionWayPoint($santo_domingo),
//      new EGMapDirectionWayPoint($plaza_toros, false),
//      new EGMapDirectionWayPoint($paso_del_tren, false)
//    );
// 
//// Initialize GMapDirection
////$direction = new EGMapDirection($home, $school, 'direction_sample', array('waypoints' => $waypoints));
//$marker = new EGMapMarkerWithLabel(-12.07483088767733, -77.0536383874512, array('title' => 'Hola'));
//
//$direction = new EGMapDirection($home, $school, 'direction_sample');
//
////$direction->optimizeWaypoints = true;11111
//////$direction->provideRouteAlternatives = true;
////$option=array('travelMode' => 'DRIVING');
////$direction->setOptions($option);
////$direction->travelmode='DRIVING';
//$direction->provideRouteAlternatives = true;
//$renderer = new EGMapDirectionRenderer();
//$renderer->draggable = false;
//$renderer->panel = "direction_pane";
//
//
//$renderer->setPolylineOptions(array('strokeColor'=>'#FE2EC8'));
// 
//
//$direction->setRenderer($renderer);
// 
//$gMap->addMarker($marker);
//$gMap->addDirection($direction);
// 
//$gMap->renderMap();
//?>
<div id="direction_pane"></div>
